package com.engine4cloud.tdf.supervision.dto.update;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

/**
 * 矫正对象家庭社会关系-请求对象
 *
 * @author wenjie
 * @date 2024-04-01 14:22:32
 */
@Data
@Schema(description = "矫正对象家庭社会关系信息表")
public class JzdxFamilySocietyUpdateDTO implements Serializable {
    /**
     * 主键
     */
    @Schema(description = "主键")
    @NotNull(message = "主键不能为空")
    private Long id;

    /**
     * 姓名
     */
    @Schema(description = "姓名")
    @NotBlank(message = "姓名不能为空")
    private String xm;

    /**
     * 关系
     */
    @Schema(description = "关系", example = "01")
    @NotBlank(message = "关系不能为空")
    private String gx;

    /**
     * 联系电话
     */
    @Schema(description = "联系电话")
    private String lxdh;

    /**
     * 所在单位
     */
    @Schema(description = "所在单位")
    private String szdw;

    /**
     * 具体住址
     */
    @Schema(description = "具体住址")
    private String jtzz;

}